﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;

namespace nwrole.lib2 {
    [ServiceContract(CallbackContract = typeof(IOrchestratorClientContract))]
    public interface IOrchestratorContract {
        [OperationContract]
        void RegisterSupervisor();

        [OperationContract]
        void ReportError(string msg);
    }

    public interface IOrchestratorChannel : IOrchestratorContract, IClientChannel { }

    public interface IOrchestratorClientContract {
        [OperationContract]
        int GetNumServices();
    }
}


